home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
progjour
/
1991
/
06
/
alib
/
skip_nl.asm
< prev
next >
Wrap
Assembly Source File
|
1991-08-22
|
347b
|
25 lines
include asm.inc
public strskp_line
.code
;; strskp line
;
; entry DS:SI string pointer
; exit SI updated to next line but not past \0
; AL delimiting char (either 0 or 0Ah)
;
strskp_line proc
lodsb
cmp al,NL_CHAR
ja strskp_line
je skl1
cmp al,NULL_CHAR
jne strskp_line
dec si
skl1: ret
strskp_line endp
end